package org.example.slave.fetch;

import org.example.slave.enums.SourceType;

import java.io.IOException;

/**
 * @author dingrui
 * @since 2022/2/14
 * @description
 */
public interface Fetcher {

    // 策略模式
    SourceType strategyType();

    void fetch() throws IOException;
}
